package com.sdkj.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * 系统常量设定
 * @author admin
 *
 */
public interface WebConst {
	public static final int FAIL_LOCK=5;
	
	public static final String RES_MSG="msg";
	public static final String RES_CODE="rescode";
	public static final String RES_SUBMSG="submsg";
	
	public static final int AUTH_FAIL=-100;
	public static final String NO_AUTH="no_auth";
	
	public static final int SUC_CODE=100;
	
	
	public static final Map<Object,String>msgMap=new HashMap<Object,String>(){

		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		{
			put(FAIL_LOCK, "登录失败次数过多，账号被锁定"); 
			put(NO_AUTH, "抱歉，您没有该操作权限"); 
			put(-100, "抱歉，您没有该操作权限"); 
		}
	};
	
	
}
